import projectSetting from "@/settings/projectSetting";

const themeConfigModule = {
  namespaced: true,
  state: { ...projectSetting },
  mutations: {
    setState: (state, data) => {
      Object.keys(data).forEach((key) => {
        if (Object.prototype.hasOwnProperty.call(data, key)) {
          state[key] = data[key];
        }
      });
    },
  },
};

export default themeConfigModule;
